package Model;

import lombok.Data;

import java.util.Date;

@Data
public class Userwx extends PageBean{
    //尚未获取用户信息
    public static final String NOT_GET_USERINFO = "0";
    //已获取用户信息
    public static final String HAVE_GET_USERINFO = "1";

    //主键
    private Long id;
    //微信用户openid
    private String openid;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getHaveGetUserInfo() {
        return haveGetUserInfo;
    }

    public void setHaveGetUserInfo(String haveGetUserInfo) {
        this.haveGetUserInfo = haveGetUserInfo;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getSfz() {
        return sfz;
    }

    public void setSfz(String sfz) {
        this.sfz = sfz;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getDevice() {
        return device;
    }

    public void setDevice(String device) {
        this.device = device;
    }

    public String getYbid() {
        return ybid;
    }

    public void setYbid(String ybid) {
        this.ybid = ybid;
    }

    //用户昵称
    private String nickName;
    //用户性别0未知，1男，2，女
    private Integer gender;
    //用户头像图片
    private String avatarUrl;
    //国家
    private String country;
    //省
    private String province;
    //市
    private String city;
    //是否已获取用户信息
    private String haveGetUserInfo;
    //创建时间
    private Date createTime;
    //更新时间
    private Date updateTime;

    private String name;
    private String sex;
    private Integer age;
    private String sfz;
    private String phone;
    private String address;
    private String device;
    private String ybid;
    private String openidwx;

}
